html,body{
    width: 100%;
    overflow-x: hidden;
}
.contains{
    width: 1200px;
    height: 100%;
    margin: auto;
}
/* !
头部导航
*/
.top_nav{
    width: 100%;
    height: 40px;
    background-color: #f3f5f7;
    .contains{
        display: flex;
        justify-content: space-between;
        align-items: center;
        .topnav_l{
            height: 100%;
            display: flex;
            align-items: center;
            div{
               height: 100%;
               padding: 0 16px;
               font-size: 12px;
               color: #71797f;
               display: flex;
               align-items: center;
               span{
                    width: 20px;
                    height: 20px;
                    background-image: url(../images/common_sprite.png);
               }
            }
            .p1{
                span{                
                    background-position: 0px -20px;
                }
            }
            .p2{
                position: relative;
                cursor: pointer;
                text-align: center;
                span{                
                    background-position: -24px -20px;
                }
                .vx{
                    display: none;
                    width: 150px;
                    height: 180px;
                    background-color: #fff;
                    position: absolute;
                    top: 40px;
                    left: 0px;
                    z-index: 99;
                    padding: 10px;
                    box-sizing: border-box;
                    i{
                        font-size: 12px;
                        color: #232628;
                    }
                    img{
                        width: 100%;
                    }
                }
                &:hover{
                    background-color: #fff;
                }
                &:hover .vx{
                    display: block;
                }
            }
            .p3{
                position: relative;
                cursor: pointer;
                text-align: center;
                span{                
                    background-position: -48px -20px;
                }
                .app{
                    display: none;
                    width: 150px;
                    height: 160px;
                    background-color: #fff;
                    position: absolute;
                    top: 40px;
                    left: 0px;
                    z-index: 99;
                    padding: 10px;
                    box-sizing: border-box;
                    i{
                        font-size: 12px;
                        color: #232628;
                    }
                    img{
                        width: 100%;
                    }
                }
                &:hover{
                    background-color: #fff;
                }
                &:hover .app{
                    display: block;
                }
            }
        }
        .topnav_r{
             height: 40px;
             align-items: center;
            display: flex;
            .login{
                width: 110px;
                display: flex;
                justify-content: space-between;
                padding: 0 20px;
                a{
                    color: #71797f;
                    font-size: 12px;
                    &:hover{
                        color: #FF734C;
                    }
                }
            }
            .uinfo{
                padding: 0 20px;
                color: #71797f;
                font-size: 12px;
                .gwcnum{
                    color: #FF734C;
                }
                &:hover{
                    color: #FF734C;
                }
                &:hover i{
                    transform: rotate(180deg);
                }
            }
            .infomenu{
                height: 100%;
                display: flex;
                align-items: center;
                position: relative;
                i{
                    width: 20px;
                    height: 20px;
                    background-image: url(../images/common_sprite.png);
                    background-position: 5px 202px;
                    transition: transform 0.5 linear;
                }
                .menulist{
                    width: 108px;
                    height: 100px;
                    background-color: #fff;
                    text-align: center;
                    display: none;
                    position: absolute;
                    top: 40px;
                    left: 0px;
                    li{
                        font-size: 12px;
                        color: #71797f;
                        margin-top: 3px;
                        &:hover{
                            color: #FF734C;
                        }
                    }
                }
                &:hover{
                    background-color: #fff;
                }
                &:hover .menulist{
                    display: block;
                }
            }
            p{
                padding: 0 20px;
                color: #71797f;
                font-size: 12px;
            }
        }
    }
}
/* !logo搜索框 */
.logo{
    width: 100%;
    height: 120px;
    background-color: #fff;
    .contains{
        display: flex;
        justify-content: space-between;
        align-items: center;
        h1{
            img{
                width: 238px;
                // height: 60px;
            }
        }
        .pho{
            width: 300px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            .photo{
                display: flex;
                align-items: center;
                span{
                    width: 40px;
                    height: 30px;
                    background-image: url(../images/common_sprite.png);
                    background-position: 10px -98px;
                    margin-right: 10px;
                }
                p{
                    font-size: 14px;
                    color: #71797f;
                }
            }
            .kefu{
                display:flex;
                align-items: center;
                span{
                    width: 40px;
                    height: 30px;
                    background-image: url(../images/common_sprite.png);
                    background-position: -24px -98px;
                    margin-right: 10px;
                }
                a{
                    color: #71797f;
                    font-size: 16px;
                    &:hover{
                        color: #FF734C;
                    }
                }
            }
        }
    }
}
main{
    width: 100%;   
    .contains{
        width: 998px;
        .goodlist{
            border: 1px solid #d9d9d9;
            width: 100%;
         .carthead{
            width: 100%;
            height: 40px;
            background-color: #ebebeb;
            padding: 0 20px;
            box-sizing: border-box;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            color: #737373;
            font-weight: 900;
            h3{
            width: 432px;
            font-size: 14px;
            color: #737373;
            font-weight: 900;
            padding-left: 20px;
            box-sizing: border-box;
            }
            p{
                width: 120px;
            }
        }
         .shoplists{
            width: 100%;
            padding: 0 20px;
            box-sizing: border-box;
            li{
            height: 118px;
            width: 100%;
            height: 100%;
            padding: 15px 0;
            box-sizing: border-box;
            border-bottom: 1px solid #d9d9d9;
             display: flex;
            align-items: center;
            justify-content: space-between;
            input{
                width: 20px;
            }
            img{
                width: 80px;
                height: 88px;
            }
            p{
                width: 290px;
                height: 20px;
                font-size: 14px;
                color: #737373;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                padding-left: 20px;
                box-sizing: border-box;
            }
            span{
                width: 120px;
                height: 10px;
                text-align: center;
                font-size: 14px;             
            }
            .oldpri{
                color: #999;
                text-decoration: line-through;
            }
            .nowpri{
                color: #232628;
            }
            .num{
                width: 100px;
                height: 20px;
                text-align: center;
                .btn-group{
                    text-align: right;
                    .btn1,.btn2{
                        width: 25px;
                        height:25px;
                        background-color: #d9d9d9;
                        border: 1px solid #ebebeb;
                        font-size: 14px;
                    }
                    .btn{
                        width: 25px;
                        height: 25px;
                        background-color: #fff;
                        font-size: 14px;
                    }
                }
            }
            .caozuo{
                width: 190px;
                height: 10px;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                button{
                    background-color: #fff;
                    font-size: 12px;
                    color: #737373;
                }
                .move{
                    margin-top: 10px;
                }
            }
            }
            li:last-child{
                border-bottom: none;
            }
            
        }
        }      
        .accounts{
            width: 100%;
            margin-top: 20px;
            border: 1px solid #d9d9d9;
            box-sizing: border-box;
            height: 50px;
            padding: 0 0 0 20px;
            box-sizing: border-box;
            display: flex;
            justify-content: space-between;
            align-items: center;
            .turn{
                width: 80px;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: space-between;
                font-size: 12px;
                color: #737373;
                i{
                    width: 25px;
                    height: 25px;
                    background-image: url(../images/common_sprite.png);
                    background-position: -6px -430px;
                    border-radius: 50%;
                }
            }
            .total{
                height: 100%;
                width: 250px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                p{
                    width: 120px;
                    font-size: 12px;
                    color: #737373;
                    span{
                        font-size: 18px;
                        color: #FF6a00;
                        font-weight: 900;
                    }
                }
                button{
                    width: 120px;
                    height: 100%;
                    background-color: #FF6a00;
                    border: 1px solid #FF6a00;
                    color: #fff;
                    font-size: 18px;
                    font-weight: 900;
                }
            }
        }
    }
}
footer{
    width: 100%;
    height: 200px;
    .contains{
        display: flex;
        flex-direction: column;
        align-items: center;
        .footnav{
            margin-top: 30px;
            a{
                color: #737373;
                font-size: 12px;
                padding: 0 35px;
                border-left: 2px solid #d9d9d9;
            }
            a:first-child{
                border-left: none;
            }
        }
        .footimg{
        width: 100%;
        height: 40px;
        margin-top: 30px;
        display: flex;
        justify-content: center;
        span{
            height: 100%;
            margin-right: 10px;
            background-image: url(../images/common_sprite.png);
        }
        .span1{
            width: 149px;
            background-position: -519px -135px;
        }
        .span2{
            width: 123px;
            background-position: -677px -135px;
        }
        .span3{
            width: 33px;
            background-position: -810px -135px;
        }
        .span4{
            width: 37px;
            background-color: #fff;
            text-align: center;
            border-radius: 2px;
           img{
               width: 30px;
           }
        }
        }
        .footnew{
            margin-top: 30px;
            a,span{
                font-size: 12px;
                color: #737373;
            }
            a:hover{
                color: #FF734C;
            }
        }
        .footcom{
            margin-top: 3px;
            a,span{
                font-size: 12px;
                color: #737373;
            }
            a:hover{
                color: #FF734C;
            }
        }
    }
}
